package com.ckk.eurekaclient.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ckk.eurekaclient.pojo.MarkPo;
import com.ckk.eurekaclient.vo.resp.MarkRespVo;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author zhujunjun
 * @date 2021/06/02 09:05
 **/
@Mapper
public interface MarkMapper extends BaseMapper<MarkPo> {

    /**
     * 获取点
     * @return
     */
    List<MarkRespVo> getMark();

    /**
     * 通过layer获取点
     * @param id
     * @return
     */
    List<MarkRespVo> getMarkByLayer(@Param("id") String id);
}
